#!/bin/bash
WORKSPACE=$(dirname "$(dirname "$(realpath "$0")")")
echo $WORKSPACE
LOG_DIR="${LOG_DIR:-${WORKSPACE}/build}"
REPORT_DIR="${REPORT_DIR:-${WORKSPACE}/report}"

python3 ${WORKSPACE}/tools/run_bench_cases.py -c -v --log-dir ${LOG_DIR} --report-dir ${REPORT_DIR} --platform metax
PYTHON_RESULT_VALUE=$?
exit $PYTHON_RESULT_VALUE
